/**
 *  
 * @return Object literal singleton instance of DirectoryListing
 */
var testCmd = function() {
};

/**
  * @param directory The directory for which we want the listing
  * @param successCallback The callback which will be called when directory listing is successful
  * @param failureCallback The callback which will be called when directory listing encouters an error
  */
testCmd.prototype.hellow = function(win, fail) {
   // PluginManager.addService("pluginHybrid","com.phonegap.example.pluginHybrid");
    //PhoneGap.execAsync(win, fail, "pluginHybrid", "sayHello", []);
    
    return PhoneGap.exec(    win,    //Success callback from the plugin
    						fail,     //Error callback from the plugin
    						'pluginHybrid',  			//Tell PhoneGap to run "pluginHybrid" Plugin
    						'sayHello',              //Tell plugin, which action we want to perform
    						[]);        
};

PhoneGap.addConstructor(function() {
    PhoneGap.addPlugin("testCmd", new testCmd());
});